import request from '@/utils/request'

export const apiPublishActivity = (params) => request.post('activity/publish', params)

export const apiJoinActivity = (params) => request.get('activity/join', params)

// 热门活动 活动列表
export const activityLists = () => request.get('activity/lists')
//活动详情
export const activityDetail = (params) => request.get('activity/detail', { params })
//我发布的活动
export const apiMyActivity = (params) => request.get('activity/myPublishActivity', { params })

